<%--
  Created by IntelliJ IDEA.
  User: ryoull
  Date: 2020/8/27
  Time: 16:45
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="shiro" uri="http://shiro.apache.org/tags" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
success
<br>
<h1>welcome: <shiro:principal property="username"/></h1>
<%--${requestScope.list}--%>
<shiro:hasRole name="user">
    <br>
    <a href="user/list">user</a>
    <br>
</shiro:hasRole>
<shiro:hasRole name="admin">
    <br>
    <a href="admin/list">admin</a>
</shiro:hasRole>
<br>
<a href="test">test</a>
</body>
</html>
